﻿using System;
using System.Collections.Generic;

namespace autoMessage.Entities;

/// <summary>
/// 已触发的触发器表
/// </summary>
public partial class QrtzFiredTrigger
{
    /// <summary>
    /// 调度名称
    /// </summary>
    public string SchedName { get; set; } = null!;

    /// <summary>
    /// 调度器实例id
    /// </summary>
    public string EntryId { get; set; } = null!;

    /// <summary>
    /// qrtz_triggers表trigger_name的外键
    /// </summary>
    public string TriggerName { get; set; } = null!;

    /// <summary>
    /// qrtz_triggers表trigger_group的外键
    /// </summary>
    public string TriggerGroup { get; set; } = null!;

    /// <summary>
    /// 调度器实例名
    /// </summary>
    public string InstanceName { get; set; } = null!;

    /// <summary>
    /// 触发的时间
    /// </summary>
    public long FiredTime { get; set; }

    /// <summary>
    /// 定时器制定的时间
    /// </summary>
    public long SchedTime { get; set; }

    /// <summary>
    /// 优先级
    /// </summary>
    public int Priority { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public string State { get; set; } = null!;

    /// <summary>
    /// 任务名称
    /// </summary>
    public string? JobName { get; set; }

    /// <summary>
    /// 任务组名
    /// </summary>
    public string? JobGroup { get; set; }

    /// <summary>
    /// 是否并发
    /// </summary>
    public string? IsNonconcurrent { get; set; }

    /// <summary>
    /// 是否接受恢复执行
    /// </summary>
    public string? RequestsRecovery { get; set; }
}
